<!-- 加载头部导航，例如：系统管理 / 用户
<th:block th:include="topNav :: frag(${bigUser.currentMenu})">
</th:block>
-->
<!-- Main content -->
<section class="content">
	<div class="from-group">
		<button id="ImportExcel" class="btn fa fa-plus-circle btn-primary" style="border-radius:5px;" type="button"> 导入领域模型
		</button>
		<button id="AddObject" class="btn fa fa-plus-circle btn-primary" style="border-radius:5px;" type="button"> 添加对象
		</button>
		<button id="AddWorkflow" class="btn fa fa-plus-circle btn-primary" style="border-radius:5px;" type="button"> 添加工作流
		</button>
		<button id="metaAll" class="btn fa fa-plus-circle btn-primary" style="border-radius:5px;" type="button"> 设置元数据模式
		</button>
		<button id="unMetaAll" class="btn fa fa-plus-circle btn-primary" style="border-radius:5px;" type="button"> 取消元数据模式
		</button>
		<!--<button class="btn btn-primary"  style="margin-left:5px;border-radius:5px;" type="button">导入领域模型</button>-->
		<br/>
		<br/>
		<br/>
	</div>
	<div class="row">
		<div class="col-md-3" th:each="object : ${objects}">
			<!-- small box -->
			<div class="small-box" th:attrappend="class=${object.status == 0 ? ' bg-yellow' : ' bg-aqua'}">
				<div class="inner">
					<h4><strong th:text="${object.name}"></strong>(<span th:text="${object.id}"></span>)</h4>
					<p><span th:text="${object.properties.size()}"></span>个属性，<span
							th:text="${object.relations.size()}"></span>个关系</p>
					<div class="btn-group">
						<button th:attrappend="class=${object.status == 0 ? ' bg-yellow' : ' bg-aqua'}"
								class="btn btn-xs btn-info" th:data-meta-objectid="${object.id}"
								style="margin-left: 3px; border-color: snow" type="button">meta
						</button>
						<button type="button" class="btn btn-xs btn-info dropdown-toggle" 
							th:attrappend="class=${object.status == 0 ? ' bg-yellow' : ' bg-aqua'}"
							style="border-color: snow" data-toggle="dropdown">
							<span class="caret"></span>
							<span class="sr-only"></span>
						</button>
						<th:block th:include="meta/man/meta-dropdown :: frag(${object})"></th:block>
					</div>
				</div>
				<div class="icon">
					<i class="fa" th:attrappend="class=${object.status == 0 ? ' fa-link' : ' fa-table'}"></i>
				</div>
				<a class="small-box-footer" th:data-meta-objectid="${object.id}">
					详细信息<span th:text="' '"></span><i class="fa fa-arrow-circle-right"></i>
				</a>
			</div>
		</div>
	</div>
</section>
<!-- /.content -->